from flask_sqlalchemy import SQLAlchemy
from extensions import db

# class Dvoc(db.Model):
#     __tablename__ = "a"
#     # Id = db.Column(db.DECIMAL(18, 0), primary_key=True)
#     id = db.Column(db.Integer, primary_key=True)
#     test = db.Column(db.String(255))



class Userinfo(db.Model):
    __tablename__ = "userinfo"
    # Id = db.Column(db.DECIMAL(18, 0), primary_key=True)
    id = db.Column(db.String(50), primary_key=True)
    createTime = db.Column(db.String(50))
    email = db.Column(db.String(50))
    phone = db.Column(db.String(50))
    roles = db.Column(db.String(50))
    username = db.Column(db.String(50))
    status = db.Column(db.Boolean)